﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace May_21_2021
{
    class ironNPC : NPC
    {
        private string make;
        public string Make { get => make; set => make = value; }
       
        public override void Speak()
        {
            Console.WriteLine("NPC:{0},你要打造{1}器材吗",this.Name,this.make);
        }

        public ironNPC(string name,NPCType type,string make):base(name,type)
        {
            this.make = make;
        }
    }
}
